package com.memoir.controller.view;

import com.memoir.common.ServerResponse;
import com.memoir.service.view.ImageViewFontService;
import com.memoir.vo.rep.font.QueryViewImagesRepVo;
import com.memoir.vo.req.font.QueryViewImagesReqVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/imgView")
public class ImageViewController {

    @Autowired
    ImageViewFontService imageViewFontService;

    @RequestMapping("/fontViewImages")
    public ServerResponse queryViewImages(@RequestBody QueryViewImagesReqVo param){
       List<QueryViewImagesRepVo> dataList = imageViewFontService.queryImageSpaceList(param);
        return null;//ServerResponse.buildSuccess(dataList);
    }
}
